Conversation
The original dictionaries are kept for compatibility, though they should eventually get migrated into NamespaceSet.
Ultimately we want to remove them entirely, but this makes things a bit easier for now.
There was a problem hiding this comment.
Maybe we could just move this after the DEFAULT_STIX_PREFIX_TO_NAMESPACE assignment below, and use that to create this dictionary?
There was a problem hiding this comment.
STIX_NAMESPACES is just the stix.mitre.org and data-marking.mitre.org namespaces (not CybOX, MAEC, Extensions, etc.). It's used in the STIX core binding, otherwise we can just get rid of it entirely (I didn't look into how it's used there.)
|
So far this is looking pretty cool to me! I'm wondering if Then |
|
Yes, ultimately Entity should be modified to use NamespaceInfo (either directly or as part of EntityParser). Getting the code out of python-stix and into mixbox is the first step. |
|
|
DO NOT MERGE!
I'm just opening a pull request so we can talk about things in this branch.